{% extends "base.html" %}
{% load markup %}

{% block title %}{{ election.name }}{% endblock %}

{% block head %}
<link rel="alternate" type="application/atom+xml" href="{% url posts-feed %}" />
{% endblock %}

{% block primary-content %}
<span class="breadcrumbs"><a href="{% url index %}" title="Home">Home</a> &raquo; {{ election.name }}</span>
<h2>{{ election.name }}</h2>
<div class="two-columns clearfix">
  {{ election.content|markdown }}
</div>
{% if reps_by_name %}
  <h3>{{ election.name }} Candidates</h3>
  {% with reps_by_name as reps %}
    {% include "reps/snippets/rep_table.html" %}
  {% endwith %}
{% endif %}
{% endblock %}

{% block secondary-content %}
  {% include "snippets/signup_or_info.html" %}
  {% include "snippets/reports_and_news.html" %}
{% endblock %}
